.root {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.link-container {
    display: inline-flex;
    min-width: 0;
}

.header {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.context-item-link {
    background: none;
    border: none;
    color: var(--vscode-textLink-foreground);
    font-size: inherit;
    padding: 0;
    margin: 0;
    text-align: left;
    font-weight: normal;
    display: flex;
    align-items: center;
    gap: 0.125rem;
    overflow: hidden;
}

/* In light high contrast, --vscode-textLink-foreground provides little
   contrast; instead inherit the --code-foreground color from the container. */
body[data-vscode-theme-kind='vscode-high-contrast-light'] .context-item-link {
    color: inherit;
}

.code-block {
    margin-bottom: 0.25rem;
}
